'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  const pageRouter=[
    {route:'/login',}
  ]
  router.get('/news', controller.news.list);
 
  router.get('/',controller.home.index);

  router.get('/test',controller.home.test);

};
